<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=request.getContextPath()%>/" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="css/bootstrap-theme.min.css" />
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<title>Insert title here</title>
</head>
<body>
	<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
    <div class="navbar-header">
        <a class="navbar-brand">个人分享</a>
    </div>
	</div>
</nav>	
<form action="shar/add" enctype="multipart/form-data" method="post">
标题：<input type="text" name="head"><br/>
文章类型:<input type="text" name="sharType"><br/>
<textarea class="ckeditor" name="sharContent"></textarea>
<input type="hidden" name="creater" value="${emp.empName }">
<input type="submit">
</form>
</body>
</html>
<script>
CKEDITOR.replace('sharContent', {
	"filebrowserUploadUrl" : "<%=request.getContextPath()%>/img/upload"
	});
</script>